/* Ejercicio 3.19
   ejer3_19.c */
#include <stdio.h>

/* funcion main, el programa inicia aca */
int main( void )
{
    float sales, salary;

    printf( "Enter sales in dollars (-1 to end): " );
    scanf( "%f", &sales );

    while ( sales >= 0 ) {
        salary =  200.0 + 0.09 * sales;
        printf( "Salary is: %.2f\n\n", salary );
        printf( "Enter sales in dollars (-1 to end): " );
        scanf( "%f", &sales );
    }
	return 0;
} /* fin de la funcion main */
